package myschool.myshchool15.homework;

import java.util.Scanner;

public class MemberPoints {
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        System.out.println("请输入会员积分：");
        int memberNo = input.nextInt();
        if(memberNo < 2000){
            System.out.println("该会员享受的折扣价是：0.9");
        }else if(memberNo >= 2000 && memberNo<4000){
            System.out.println("该会员享受的折扣价是：0.8");
        }else if(memberNo >= 4000 && memberNo<8000){
            System.out.println("该会员享受的折扣价是：0.7");
        }else{
            System.out.println("该会员享受的折扣价是：0.6");
        }
    }
}
